 {layout name="layout/layout" /}

<div class="layui-tab layui-tab-brief" lay-filter="docDemoTabBrief">
	<ul class="layui-tab-title">
		<li class="layui-this">回复</li>
	</ul>
</div>
<form class="layui-form" action="{:Url('admin/opinion/update')}" method="post" id="form" onsubmit="return mySubmit();">
	<div class="layui-form-item">
		<label class="layui-form-label">回复用户名</label>
		<div class="layui-input-block" >
			<input type="text" name="title" required  lay-verify="required" autocomplete="off" class="layui-input" value="{$user_name}" readonly style="background-color:#F5F5F5">
		</div>
	</div>
	<div class="layui-form-item layui-form-text">
		<label class="layui-form-label">项目名</label>
		<div class="layui-input-block">
			<input type="text" name="title" required  lay-verify="required" autocomplete="off" class="layui-input" value="{$item->project_id}" readonly style="background-color:#F5F5F5">
		</div>
	</div>
	<div class="layui-form-item">
		<label class="layui-form-label">具体原因</label>
		<div class="layui-input-block">
			<input type="text" name="title" required  lay-verify="required" autocomplete="off" class="layui-input" value="{$title}" readonly style="background-color:#F5F5F5">
		</div>
	</div>
	<div class="layui-form-item">
		<label class="layui-form-label">详细描述</label>
		<div class="layui-input-block" >
			<input type="text" name="title" required  lay-verify="required" autocomplete="off" class="layui-input" value="{$item->content}" readonly style="background-color:#F5F5F5">
		</div>
	</div>
	<div class="layui-form-item">
		<label class="layui-form-label">具体原因</label>
		<div class="layui-input-block" >
			<input type="text" name="title" required  lay-verify="required" autocomplete="off" class="layui-input" value="{$title}" readonly style="background-color:#F5F5F5">
		</div>
	</div>
	<div class="layui-form-item">
		<label class="layui-form-label">回复内容</label>
		<div class="layui-input-block">
			<textarea rows="3" cols="20" required name="content" id="" class="word_editor" style="width: 1430px;">{$reply.content}</textarea>
		</div>
	</div>
	<div class="layui-form-item">
		<label class="layui-form-label">回复时间</label>
		<div class="layui-input-block">
			<input type="text" name="title" required  lay-verify="required" autocomplete="off" class="layui-input" value="{$reply.created_at|date="Y-m-d H:i:s",###}" readonly style="background-color:#F5F5F5">
		</div>
	</div>
	<div class="layui-form-item">
		<label class="layui-form-label">状态</label>
		<div class="layui-input-block">
			<input type="text" name="title" required  lay-verify="required" autocomplete="off" class="layui-input" value="{if($reply->is_look == '1')}用户已查看 {$reply.look_time|date="Y-m-d H:i:s",###}{else /}用户未查看{/if}" readonly style="background-color:#F5F5F5">
		</div>
	</div>
	<div class="layui-form-item">
		<div class="layui-input-block">
			<input type="hidden" name="opinion_id" value="{$item->id}">
			<input type="submit" class="layui-btn" value="修改并推送" />
		</div>
	</div>

</form>
